// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .s}

//-------------MAIN---------------
0001: wait 0 ms 
0006: 6@ = 120 
0006: 7@ = 50 

:Noname_25
0247: load_model 6@ 
0247: load_model #MINIGUN 
038B: load_requested_models 

:Noname_31
0001: wait 100 ms 
00D6: if 
0248:   model 6@ available 
0248:   model #MINIGUN available 
004D: jump_if_false @Noname_31 
0001: wait 1000 ms 
04C4: store_coords_to 0@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0 
009A: 1@ = create_actor_pedtype 4 model 6@ at 0@ 2@ 3@ 
0568: set_actor 1@ targetable 1 
0446: set_actor 1@ immune_to_headshots 0 
08AF: set_actor 1@ max_health_to 1000 
077A: set_actor 1@ acquaintance 4 to_actors_pedtype 25 // see ped.dat 
0631: put_actor 1@ in_group $PLAYER_GROUP 
01B2: give_actor 1@ weapon 38 ammo 6000 // Load the weapon model before using this 
02E2: set_actor 1@ weapon_accuracy_to 7@ 
0223: set_actor 1@ health_to 400 

:Noname_C0
0001: wait 0 ms 
00D6: if 
0AB0:   key_pressed 35 
004D: jump_if_false @Noname_C0 
00BC: show_text_highpriority GXT 'AAWZ' time 1000 flag 1 

:Noname_E3
0001: wait 500 ms 
00D6: if 
0AB0:   key_pressed 45 
004D: jump_if_false @Noname_135 
00BC: show_text_highpriority GXT 'AAWX' time 1000 flag 1 
0001: wait 500 ms 
00D6: if 
0AB0:   key_pressed 13 
004D: jump_if_false @Noname_135 
0470: 8@ = actor $PLAYER_ACTOR current_weapon 
01B2: give_actor 1@ weapon 8@ ammo 6000 // Load the weapon model before using this 
0002: jump @Noname_C0 

:Noname_135
0001: wait 0 ms 
00D6: if 
0AB0:   key_pressed 33
004D: jump_if_false @Noname_19E
00BC: show_text_highpriority GXT 'AAWC' time 1000 flag 1 
0001: wait 500 ms 
00D6: if 
0AB0:   key_pressed 13 
004D: jump_if_false @Noname_19E 
000A: 6@ += 1 
009B: destroy_actor 1@ 
0249: release_model 6@ 
00D6: if 
0039:   6@ == 149 
004D: jump_if_false @Noname_25 
000A: 6@ += 120 
0002: jump @Noname_25 

:Noname_19E
0001: wait 500 ms 
00D6: if 
0AB0:   key_pressed 34 
004D: jump_if_false @Noname_243 
00BC: show_text_highpriority GXT 'AAWB' time 1000 flag 1 
0001: wait 500 ms 
00D6: if 
0AB0:   key_pressed 13 
004D: jump_if_false @Noname_C0 
0001: wait 100 ms 

:Noname_1DA
0001: wait 100 ms 
00D6: if 
0AB0:   key_pressed 50 
004D: jump_if_false @Noname_1FD 
07FE: set_actor 1@ fighting_style_to 5 6 
0002: jump @Noname_C0 

:Noname_1FD
0001: wait 100 ms 
00D6: if 
0AB0:   key_pressed 49 
004D: jump_if_false @Noname_220 
07FE: set_actor 1@ fighting_style_to 6 6 
0002: jump @Noname_C0 

:Noname_220
0001: wait 100 ms 
00D6: if 
0AB0:   key_pressed 51 
004D: jump_if_false @Noname_1DA 
07FE: set_actor 1@ fighting_style_to 7 6 
0002: jump @Noname_C0 

:Noname_243
0001: wait 100 ms  
00D6: if 
0AB0:   key_pressed 46
004D: jump_if_false @Noname_E3 
00BC: show_text_highpriority GXT 'AAWN' time 1000 flag 1
0001: wait 500 ms 
00D6: if 
0AB0:   key_pressed 13 
004D: jump_if_false @Noname_E3 
0321: kill_actor 1@ 
0A93: end_custom_thread
